Skip to main content

FloorOperator

Type​

operator

Summary​

Returns the floor of Target.

Syntax​

the floor of <Target>

Description​

The floor of Target is the greatest integer less than or equal to Target.

Parameters​

NameTypeDescription

Target

An expression that evaluates to a number.

Examples​

variable tNum as Number
variable tFloor as Number
put -5.5 into tNum
put the floor of tNum into tFloor -- tFloor contains -6

Value​

NameTypeDescription

return

The floor of Target

Thank you for your feedback!

Was this page helpful?